From: Carlos Garnacho Date: Wed, 8 Oct 2025 10:00:49 +0000 (+0200) Subject: screenshot: Don't special case resetting cursor X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~44^2~132 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=dc97d0a4d63b58806c53e631ea8d6217787f6a85;p=gnome-shell.git screenshot: Don't special case resetting cursor The case expressed in the comment does not seem to apply anymore, we can reset the cursor as expected on every leave event. Part-of: --- diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index abc324b29..09a204b41 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -716,12 +716,7 @@ const UIAreaSelector = GObject.registerClass({ } vfunc_leave_event(event) { - // If we're dragging and go over the panel we still get a leave event - // for some reason, even though we have a grab. We don't want to switch - // the cursor when we're dragging. - if (!this._dragButton) - global.display.set_cursor(Meta.Cursor.DEFAULT); - + global.display.set_cursor(Meta.Cursor.DEFAULT); return super.vfunc_leave_event(event); } });